<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Dashboard Template for Bootstrap</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/type.css" />
		<style type="text/css">
			
			
		</style>

	</head>

	<body class="index_body">
		<!--*****************************************导航栏*****************************************************-->
		
		<!--***************************************section************************************************************-->
		<section class="container-fluid">

			<div class="row">
				<div class="col-sm-9 col-sm-offset-1 col-md-10 col-md-offset-1">
					<!--旋转轮播-->
					<header class="row placeholders">
						<div id="carousel-example-generic" class="carousel" data-ride="carousel">
							<!--轮播控制-->
							<ol class="carousel-indicators">
								<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
								<li data-target="#carousel-example-generic" data-slide-to="1"></li>
								<li data-target="#carousel-example-generic" data-slide-to="2"></li>
							</ol>
							<!--轮播图片-->
							<div class="carousel-inner">
								<div class="item active">
									<img src="__PUBLIC__/images/index/header01.jpg" />
								</div>
								<div class="item">
									<img src="__PUBLIC__/images/index/header02.jpg" />
								</div>
								<div class="item">
									<img src="__PUBLIC__/images/index/header03.jpg" />
								</div>
							</div>
							<!--左右两侧控制滑动按钮-->
							<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"></a>
							<a href="#carousel-example-generic" data-slide="next" class="right carousel-control"></a>
						</div>
					</header>
					<!--商品内容展示-->
					
				
					<foreach name="goodsss" item="v">
					<div>
						<p id="{$v['GoodcategoryId']}"></p>
						<h3 class="page-header">{$v[0]['CategoryName']}</h3>
						<foreach name="v" item="g">
							<div class="col-xs-6 col-sm-3 images">
								<a href="__MODULE__/Index/goods/gid/{$g.GoodId}"><center><img src="__PUBLIC__/uploads/img/{$g.PictureUrl}" class="img-responsive"></center><br>
									<div>
											<span>{$g['GoodName']}</span><br>
									<span class="index_span2">{$g['KeyWords']}</span><br><br>
									<span class="index_span3">￥{$g['Price']}</span><br><br><br>
									</div>
								</a>
							</div>
						</foreach>


						<div class="row">
							
						</div>
					</div>
				</foreach>
						
						<neq name="is_bests" value=""><h3 class="page-header">为你推介</h3>
						<div class="row">
						<foreach name="is_bests" item="g">
							<div class="col-xs-6 col-sm-3 images">
								<a href="__MODULE__/Index/goods/gid/{$g.GoodId}"><img src="__PUBLIC__/uploads/img/{$g['PictureUrl']}" class="img-responsive"><br>
								<div>
									<span>{$g['GoodName']}</span><br>
									<span class="index_span2">{$g['KeyWords']}</span><br><br>
									<span class="index_span3">￥{$g['Price']}</span><br><br><br>
								</div></a>
							</div>
							</foreach>
						</div>
						</neq>

					</div>
				</div>
			</div>
		</section>

		<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
		<!--
        	作者：offline
        	时间：2017-11-05
        	描述：状态栏改变样式
        -->
		<script>
			$("#selector ul li").click(function() {
				$(".active").removeClass("active");
				$(this).children("a").addClass("active");
			});
		</script>
		
	</body>

</html>